require "Common/class"
require "Common/Base/BasePanel"
--显示类模板
--create by lwt
--date 2018-4-21
JoinRoomPanel = class("JoinRoomPanel",BasePanel)

function JoinRoomPanel:InitPanel()
	-- body
	self.numBtnList = {}
	for i=1,9 do
		table.insert(self.numBtnList,self.transform:FindChild("btnList/btn"..i).gameObject)
	end
	table.insert(self.numBtnList,self.transform:FindChild("btnList/btn0").gameObject)
	--全部重输按钮
	self.reInputBtn = self.transform:FindChild("btnList/btn10").gameObject
	--删除按钮
	self.cancelBtn = self.transform:FindChild("btnList/btn11").gameObject
	--关闭按钮
	self.closeBtn = self.transform:FindChild("closeBtn").gameObject
	--房间号文本
	self.roomNum = self.transform:FindChild("roomNum"):GetComponent("Text")
end